package com.sky.dao;

import com.sky.model.BaseModel;
import com.sky.model.Resource;

import java.util.List;

public interface ResourceMapper {
    int deleteByPrimaryKey(String id);

    int insert(Resource record);

    int insertSelective(Resource record);

    Resource selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Resource record);

    int updateByPrimaryKey(Resource record);

    List<BaseModel> query(Resource record);
}
